<template>
  <div class="wrap">
    <div class="tip">
      正在进入游戏平台
    </div>
    <web-view src="https://game.xingyuxingzuo.com/platform/html/m/?from=xcx_ggbsq"></web-view>
  </div>
</template>

<script>
export default {
  onShareAppMessage: function(res) {
    return {
      title: "快来玩呀",
      path: "/pages/game/main",
      success: res => {
        // 转发成功
        console.log(res);
      },
      fail: function(res) {
        // 转发失败
        console.log(res);
      }
    };
  }
};
</script>

<style>
.tip {
  width: 100%;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 40rpx;
}
</style>
